package com.ls.data.service;

import com.ls.data.mapper.CustomerMapper;
import com.ls.pojo.Customer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 段成
 * @date 2020/1/9 - 11:22
 */
@Service
public class CustomerService {
    @Autowired
    private CustomerMapper customerMapper;

    public Customer getCustomerByName(String username) {
        return customerMapper.getCustomerByName(username);
    }
}
